projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
95084ce
)
* src/haikufns.c (Fx_display_mm_width): Fix copy-paste error.
author
Po Lu
<luangruo@yahoo.com>
Wed, 19 Jan 2022 06:00:13 +0000
(06:00 +0000)
committer
Po Lu
<luangruo@yahoo.com>
Wed, 19 Jan 2022 06:00:13 +0000
(06:00 +0000)
src/haikufns.c
patch
|
blob
|
history
diff --git
a/src/haikufns.c
b/src/haikufns.c
index d0436bbb96d66b6138713b8c0c594c6b8f8eb4a1..58a2e1d4642f3ef592561b49677e5e32fda1c3b1 100644
(file)
--- a/
src/haikufns.c
+++ b/
src/haikufns.c
@@
-1876,7
+1876,7
@@
DEFUN ("x-display-mm-width", Fx_display_mm_width, Sx_display_mm_width, 0, 1, 0,
int width, height;
BScreen_px_dim (&width, &height);
- return make_fixnum (
height / (dpyinfo->resy
/ 25.4));
+ return make_fixnum (
width / (dpyinfo->resx
/ 25.4));
}
DEFUN ("x-create-frame", Fx_create_frame, Sx_create_frame,